<<<<<<< HEAD
option = {
    title: {
        text: '部门工作总评',
        x: 'center',
        textStyle:{
            color:'#aaa'
        }
    },
    series: [{
        type: 'pie',
        center: ['50%', '50%'], // 居中设置
        radius: ['60%', '75%'], // 控制环形内半径和外半径
        data: [{
            name: 'other',
            value: 12,

            itemStyle: {
                normal: {
                    show: true,
                    color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
                        offset: 0,
                        color: '#7049f0'
                    }, {
                        offset: 1,

                        color: '#9A32CD'
                    }]),
                    /*  barBorderRadius: 15,
                      borderWidth: 0,*/
                }
            },
            label: {
                show: true,
                position: 'center',
                formatter: '好评率',
                textStyle: {
                    baseline: 'bottom',
                    fontSize: 20,
                    fontWeight: 'bold',
                    color:'#3ea1ff',
                }
            },
            labelLine: {
                show: false
            }
        },
            {
                name: '好评数',
                value: 88,
                itemStyle: {
                    normal: {
                        /*     barBorderRadius: 15,*/
                        color: new echarts.graphic.LinearGradient(
                            0, 0, 0, 1, [{
                                offset: 1,
                                color: '#00feff'
                            },
                                {
                                    offset: 0.5,
                                    color: '#027eff'
                                },
                                {
                                    offset: 0,
                                    color: '#0286ff'
                                }
                            ]
                        )
                    }
                },
                label: {
                    show: true,
                    position: 'center',
                    formatter: function(params) {
                        return params.value + '%'
                    },
                    textStyle: {
                        baseline: 'top',
                        fontSize: 20,
                        fontWeight: 'bold',
                        color:'#00feff',
                    }
                },
                labelLine: {
                    show: false
                }
            }
        ]
    }]
};

var mychart3 =echarts.init(document.getElementById('charts3'));
=======
option = {
    title: {
        text: '部门工作总评',
        x: 'center',
        textStyle:{
            color:'#aaa'
        }
    },
    series: [{
        type: 'pie',
        center: ['50%', '50%'], // 居中设置
        radius: ['60%', '75%'], // 控制环形内半径和外半径
        data: [{
            name: 'other',
            value: 12,

            itemStyle: {
                normal: {
                    show: true,
                    color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
                        offset: 0,
                        color: '#7049f0'
                    }, {
                        offset: 1,

                        color: '#9A32CD'
                    }]),
                    /*  barBorderRadius: 15,
                      borderWidth: 0,*/
                }
            },
            label: {
                show: true,
                position: 'center',
                formatter: '好评率',
                textStyle: {
                    baseline: 'bottom',
                    fontSize: 20,
                    fontWeight: 'bold',
                    color:'#3ea1ff',
                }
            },
            labelLine: {
                show: false
            }
        },
            {
                name: '好评数',
                value: 88,
                itemStyle: {
                    normal: {
                        /*     barBorderRadius: 15,*/
                        color: new echarts.graphic.LinearGradient(
                            0, 0, 0, 1, [{
                                offset: 1,
                                color: '#00feff'
                            },
                                {
                                    offset: 0.5,
                                    color: '#027eff'
                                },
                                {
                                    offset: 0,
                                    color: '#0286ff'
                                }
                            ]
                        )
                    }
                },
                label: {
                    show: true,
                    position: 'center',
                    formatter: function(params) {
                        return params.value + '%'
                    },
                    textStyle: {
                        baseline: 'top',
                        fontSize: 20,
                        fontWeight: 'bold',
                        color:'#00feff',
                    }
                },
                labelLine: {
                    show: false
                }
            }
        ]
    }]
};

var mychart3 =echarts.init(document.getElementById('charts3'));
>>>>>>> 64023929a954491135e98eced71561cf8107da2a
mychart3.setOption(option);